<?php
/**
 * Configuration for Home Module
 **/
return array(
  /* Routing Setting */
  'URL_ROUTER_ON'   => true,
  'URL_ROUTE_RULES' => array(
    'genre/:name'   => 'Genre/index',
    'genre'         => 'Index/genres',
    'movie/:id'     => 'Movie/index',
    'person/:id'    => 'Person/index',
    'find'          => 'Search/find',
    'findr'         => 'Search/findr',
    'findr_process' => 'Search/findr_process',
  ),
  'ERROR_PAGE'      => 'home/index/page_error',


  /* Layout Setting */
  'LAYOUT_ON'         => true,
  'LAYOUT_NAME'       => 'Common/default',
  'TMPL_LAYOUT_ITEM'  => '{__CONTENT__}',

  /* Template Constants(customized) */
  /* navigation */
  'navi_list'   => array(
    'movie' => array(
      'name'    => 'movie',
      'content' => 'Movie',
      'link'    => '/home',
    ),
    'findr' => array(
      'name'    => 'findr',
      'content' => 'FindR',
      'link'    => '/findr',
    ),
  ),

  /* genre */
  'genre_list'  => array(
    'Action',
    'Adventure',
    'Animation',
    'Biography',
    'Comedy',
    'Crime',
    'Drama',
    'Family',
    'Fantasy',
    'History',
    'Horror',
    'Music',
    'Musical',
    'Mystery',
    'Romance',
    'SciFi',
    'Sport',
    'Thriller',
    'War',
    'Western',
  ),

  /* country */
  'country_list' => array(
    'USA',
    'Germany',
    'France',
    'Spain',
    'Belgium',
    'UK',
    'Hong Kong',
    'Japan',
    'New Zealand',
    'China',
    'Ireland',
    'Australia',
    'Russia',
    'Italy',
    'Netherlands',
    'Czech Republic',
    'Canada',
    'Brazil',
    'Federal Republic of Yugoslavia',
    'Denmark',
    'Iran',
    'Mexico',
    'Taiwan',
    'Argentina',
    'Sweden',
  ),

  /* mpaa */
  'mpaa_list' => array(
    'G',
    'PG',
    'PG-13',
    'R',
    'NC-17',
  ),

  /* sort option */
  'sort_list' => array(
    'title'       => 'A-Z',
    'rating'      => 'Rating',
    'runtime'     => 'Runtime',
    'releasedate' => 'Year',
  ),

  /* Radar Upperbounds */
  'radar_limit' => array(
    'movie_num'   => 20,
    'rating_avg'  => 10,
    'ratingnum'   => 10000000,
    'co-workers'  => 200,
    'active'      => 6,
    'diversity'   => 20,
  ),
);
